package cn.shyouchi.wuguanjia.android.ui.event.labor;

import java.util.List;

import cn.shyouchi.wuguanjia.android.base.BasePresenter;
import cn.shyouchi.wuguanjia.android.base.BaseView;
import cn.shyouchi.wuguanjia.android.ui.event.checknum.CheckNumEntity;

/**
 * Created by Eenie on 2016/11/21 at 10:54
 * Email: 472279981@qq.com
 * Des:
 */

public interface LaborContract {

    interface View extends BaseView {

        void onDataRefresh(List<LaborRequestEntity.ResultMessageBean> resultMessageBeanList);

        void onItemClick( CheckNumEntity.ResultMessageBean bean);

        void onDelClick( CheckNumEntity.ResultMessageBean bean);

        void onEditClick( CheckNumEntity.ResultMessageBean bean);

        void onRankRefresh(List<RankTime.ResultMessageBean> resultMessageBeanList);

        void onDateChange();
    }

    interface Presenter extends BasePresenter<View> {

        void getRankList(String projectId);

        void getLaborList(String projectId,String date);


        void delLabor(String projectId, String id);


        void addLabor(String projectId,List<LaborEntity> laborEntities);


    }
}
